/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hhx.dao;

import org.apache.ibatis.annotations.Param;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.hhx.entity.HhxUser;

/**
 * 单表生成DAO接口
 * @author zmy
 * @version 2019-04-08
 */
@MyBatisDao
public interface HhxUserDao extends CrudDao<HhxUser> {

	String getPsd(String username);

	HhxUser getInfoByName(String username);

	int updateFocus(@Param("focusid") String focusid,@Param("focuscount") String focuscount);

	int insertUser(@Param("id") String id,@Param("username") String username,@Param("password") String password,@Param("companyname") String companyname,@Param("webaddress") String webaddress,@Param("address") String address,
			@Param("category") String category,@Param("range") String range,@Param("amt") String amt,@Param("description") String description,@Param("tel") String tel,@Param("truename") String truename,@Param("idcard") String idcard,@Param("job") String job);

	int updateInvite(String invitedid);

	int updateamt(String userid);

	int updatestatus(String id);
	
}